import { request, getOptions, postOptions } from '../../utils/request';

const actionName = 'user';

export function Save(values) {
  return request(actionName + '/save', postOptions(values));
}
export function GetPages(values) {
  return request(actionName + '/getpages', postOptions(values));
}
export function GetDetail(values) {
  return request(actionName + '/getdetail', getOptions(values));
}
export function Delete(values) {
  return request(actionName + '/delete', postOptions(values));
}
